from django.shortcuts import render


from wudaxinwen.tasks import getnews

def index(request):
    getnews.delay()
    return render(request, 'wudaxinwen/index.html')

# Create your views here.
